]> dgit.raspbian.org Git - gnome-shell.git/commit
st/icon-theme: Fix small memory leak when checking fallback theme path
authorSebastian Keller <skeller@gnome.org>
Sun, 16 Apr 2023 21:23:11 +0000 (23:23 +0200)
committerSebastian Keller <skeller@gnome.org>
Mon, 17 Apr 2023 08:38:33 +0000 (10:38 +0200)
commit15048c1fcbf63e5e7f6f1651130208a0313fc93c
tree20fa61da412e998693c07e84b83c018fdfc14c3e
parenta8ae5fa1ec4f6a5316a017faf6f90e34c5f60fe6
st/icon-theme: Fix small memory leak when checking fallback theme path

This is a small one time leak if there is more than one entry in the
search path due to multiple iterations overwriting the old pointer
before finally going out of scope.

Fixes: 934faaace ("st/icon-theme: Start using g_autofree")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2737>
src/st/st-icon-theme.c